// ///////////////////// //
// Runtime Mode Switches //
// #define REBOOT_ON_FINISH
// ///////////////////// //

#define TRUE            1
#define FALSE           0

#define BLACK           0x0
#define BLUE            0x1
#define GREEN           0x2
#define CYAN            0x3
#define RED             0x4
#define MAGENTA         0x5
#define BROWN           0x6
#define LIGHTGRAY       0x7
#define DARKGRAY        0x8
#define LIGHTBLUE       0x9
#define LIGHTGREEN      0xA
#define LIGHTCYAN       0xB
#define LIGHTRED        0xC
#define LIGHTMAGENTA    0xD
#define LIGHTBROWN      0xE
#define WHITE           0xF

#define INT0            0
#define INT1            1
#define INT2            2
#define INT3            3
#define INT4            4
#define INT5            5
#define INT6            6
#define INT7            7
#define INT8            8
#define INT9            9
#define INT10           10
#define INT11           11
#define INT12           12
#define INT13           13
#define INT14           14
#define INT15           15
#define INT16           16
#define INT17           17
#define INT18           18
#define INT19           19
#define INT20           20
#define INT21           21
#define INT22           22
#define INT23           23
#define INT24           24
#define INT25           25
#define INT26           26
#define INT27           27
#define INT28           28
#define INT29           29
#define INT30           30
#define INT31           31
#define IRQ0            32
#define IRQ1            33
#define IRQ2            34
#define IRQ3            35
#define IRQ4            36
#define IRQ5            37
#define IRQ6            38
#define IRQ7            39
#define IRQ8            40
#define IRQ9            41
#define IRQ10           42
#define IRQ11           43
#define IRQ12           44
#define IRQ13           45
#define IRQ14           46
#define IRQ15           47

#define EFLAGS_VM		0x20000
#define EFLAGS_IF		0x200
#define EFLAGS_VIF		0x80000

#define	PFX_ES		0x001
#define	PFX_CS		0x002
#define	PFX_SS		0x004
#define	PFX_DS		0x008
#define	PFX_FS		0x010
#define	PFX_GS		0x020
#define	PFX_OP32	0x040
#define	PFX_ADR32	0x080
#define	PFX_LOCK	0x100
#define	PFX_REPNE	0x200
#define	PFX_REP		0x400

#define GO_TEXT_CS      0x07E0
#define INT_ROUTINE_CS  0x07E1
